package com.pro.pojo;
/**
 *
 * @author LJH
 * @date 2022/1/6 18:52
 * 前端用户表
 */
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

public class JsBeforeUser {
  private Integer userId;//id
  private String photoImg;//照片
  private String account;//用户账户
  private String nickname;//用户昵称
  private Integer userCode;//用户学号
  private String avatarUrl;//头像路径
  private Integer studyDate;//学习时长
  private Integer status;//状态，2正常，3禁言，4注销，5封停
  private String freestyle;//个性签名
  private String idCard;//身份证号码
  private String phone;//手机号码
  private Integer sex;//用户性别
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String birthDate;//出生日期
  private String email;//邮箱
  private String remarks;//备注（介绍）
  private String intention;//求职意向
  private String consumption;//消费总金额
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String createDate;//注册时间（创建时间）
  private String fullName;//用户姓名
  private Integer used;//拥有的优惠券数

  private Integer useCouponCount;//已使用优惠券数量
  private Integer notUseCouponCount;//未使用优惠券数量
  private Integer haveExpiredCouponCount;//已过期优惠券数量

  //进思学员拓展
  private String profession;//所学专业
  private Integer type;//是否毕业，2 未毕业，3已毕业
  private String studyContent;//学习内容
  private Integer integration;//学生量化积分
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String entranceDate;//入学时间
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String  graduationDate;//毕业时间
  private Integer createId;//创建人
  private Integer updateId;//更新人
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String updateDate;//更新时间

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getPhotoImg() {
    return photoImg;
  }

  public void setPhotoImg(String photoImg) {
    this.photoImg = photoImg;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public Integer getUserCode() {
    return userCode;
  }

  public void setUserCode(Integer userCode) {
    this.userCode = userCode;
  }

  public String getAvatarUrl() {
    return avatarUrl;
  }

  public void setAvatarUrl(String avatarUrl) {
    this.avatarUrl = avatarUrl;
  }

  public Integer getStudyDate() {
    return studyDate;
  }

  public void setStudyDate(Integer studyDate) {
    this.studyDate = studyDate;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getFreestyle() {
    return freestyle;
  }

  public void setFreestyle(String freestyle) {
    this.freestyle = freestyle;
  }

  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public Integer getSex() {
    return sex;
  }

  public void setSex(Integer sex) {
    this.sex = sex;
  }

  public String getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(String birthDate) {
    this.birthDate = birthDate;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getIntention() {
    return intention;
  }

  public void setIntention(String intention) {
    this.intention = intention;
  }

  public String getConsumption() {
    return consumption;
  }

  public void setConsumption(String consumption) {
    this.consumption = consumption;
  }

  public String getCreateDate() {
    return createDate;
  }

  public void setCreateDate(String createDate) {
    this.createDate = createDate;
  }

  public String getFullName() {
    return fullName;
  }

  public void setFullName(String fullName) {
    this.fullName = fullName;
  }

  public Integer getUsed() {
    return used;
  }

  public void setUsed(Integer used) {
    this.used = used;
  }

  public Integer getUseCouponCount() {
    return useCouponCount;
  }

  public void setUseCouponCount(Integer useCouponCount) {
    this.useCouponCount = useCouponCount;
  }

  public Integer getNotUseCouponCount() {
    return notUseCouponCount;
  }

  public void setNotUseCouponCount(Integer notUseCouponCount) {
    this.notUseCouponCount = notUseCouponCount;
  }

  public Integer getHaveExpiredCouponCount() {
    return haveExpiredCouponCount;
  }

  public void setHaveExpiredCouponCount(Integer haveExpiredCouponCount) {
    this.haveExpiredCouponCount = haveExpiredCouponCount;
  }

  public String getProfession() {
    return profession;
  }

  public void setProfession(String profession) {
    this.profession = profession;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getStudyContent() {
    return studyContent;
  }

  public void setStudyContent(String studyContent) {
    this.studyContent = studyContent;
  }

  public Integer getIntegration() {
    return integration;
  }

  public void setIntegration(Integer integration) {
    this.integration = integration;
  }

  public String getEntranceDate() {
    return entranceDate;
  }

  public void setEntranceDate(String entranceDate) {
    this.entranceDate = entranceDate;
  }

  public String getGraduationDate() {
    return graduationDate;
  }

  public void setGraduationDate(String graduationDate) {
    this.graduationDate = graduationDate;
  }

  public Integer getCreateId() {
    return createId;
  }

  public void setCreateId(Integer createId) {
    this.createId = createId;
  }

  public Integer getUpdateId() {
    return updateId;
  }

  public void setUpdateId(Integer updateId) {
    this.updateId = updateId;
  }

  public String getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(String updateDate) {
    this.updateDate = updateDate;
  }

  @Override
  public String toString() {
    return "JsBeforeUser{" +
            "userId=" + userId +
            ", photoImg='" + photoImg + '\'' +
            ", account='" + account + '\'' +
            ", nickname='" + nickname + '\'' +
            ", userCode=" + userCode +
            ", avatarUrl='" + avatarUrl + '\'' +
            ", studyDate=" + studyDate +
            ", status=" + status +
            ", freestyle='" + freestyle + '\'' +
            ", idCard='" + idCard + '\'' +
            ", phone='" + phone + '\'' +
            ", sex=" + sex +
            ", birthDate='" + birthDate + '\'' +
            ", email='" + email + '\'' +
            ", remarks='" + remarks + '\'' +
            ", intention='" + intention + '\'' +
            ", consumption='" + consumption + '\'' +
            ", createDate='" + createDate + '\'' +
            ", fullName='" + fullName + '\'' +
            ", used=" + used +
            ", useCouponCount=" + useCouponCount +
            ", notUseCouponCount=" + notUseCouponCount +
            ", haveExpiredCouponCount=" + haveExpiredCouponCount +
            ", profession='" + profession + '\'' +
            ", type=" + type +
            ", studyContent='" + studyContent + '\'' +
            ", integration=" + integration +
            ", entranceDate='" + entranceDate + '\'' +
            ", graduationDate='" + graduationDate + '\'' +
            ", createId=" + createId +
            ", updateId=" + updateId +
            ", updateDate='" + updateDate + '\'' +
            '}';
  }
}
